Add a user init commands flag#193
Conversation
Some custom init things (like spawning Wayland and D-Bus proxies) have to run after the user account has been set up and XDG_RUNTIME_DIR has been created and set. Let's simply add a big-X flag for executing things as the user. Signed-off-by: Val Packett <[email protected]>
slp
left a comment
There was a problem hiding this comment.
Sounds reasonable to me, thanks @valpackett
|
@slp If we're okay with doing this over a semver major version, should we swap (We could of course just merge this but without the |
The problem we have is that, for crates, bumping major is reasonably safe since cargo avoids picking it up unless instructed to do it. But, for binaries, I suspect people that may have integrated On the other hand, we don't know how prevalent is this use case, so perhaps we may as well do it once this time and see how many people complain? |
Some custom init things (like spawning Wayland and D-Bus proxies) have to run after the user account has been set up and XDG_RUNTIME_DIR has been created and set. Let's simply add a big-X flag for executing things as the user?